#ifndef _BARTER_SERVER_THREAD_H_
#define _BARTER_SERVER_THREAD_H_

#ifdef WIN32
#include <windows.h>
typedef HANDLE thread_t;
typedef ThreadProc proc_t;
#else
#include <pthread.h>
typedef pthread_t* thread_t;
typedef int(*proc_t)(void*);
#endif

thread_t NewThread(proc_t, void*);
void KillThread(thread_t);

void PauseThread(int);

#endif // _BARTER_SERVER_THREAD_H_
